package main
import "fmt"
func main(){
	var number int
	var a int
	fmt.Printf("请输入一个整数：")
	fmt.Scanf("%d",&number)
	a = Qjws(number)
	fmt.Printf("这是一个 %d 位数\n",a)
}

func Qjws(number int)(int){
	var i int
	for i = 0; i < 6; i++{
		if number <= 0{
			break
		}
		number /= 10
	}
	return i
}
